package com.ruibang.glass.iso.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.iso.domain.req.FileManageReq;
import com.ruibang.glass.iso.entity.FileManage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FileManageMapper extends BaseMapper<FileManage> {
    IPage<FileManage> pageQuery(Page<FileManage> page,@Param("fileManageReq") FileManageReq fileManageReq);

    Integer getVersionByNo(@Param("fileNo") String fileNo);

    void updateNewestByFileNo(@Param("fileNo") String fileNo);
}
